package com.zuihai.app.mvp.model.entity;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Administrator on 2017/6/1 0001.
 */

public class HomeBanner {
    @SerializedName("picture")
    @Expose
    public List<Detail.Picture> pictures;
    @SerializedName("fenlei_Tag")
    @Expose
    public int type;
    @SerializedName("guangjie_fenlei_Tag")
    @Expose
    public int commodityType;
    @SerializedName("uid")
    @Expose
    public String id;

    /**
     * 是否是服务
     * @return
     */
    public boolean isService(){
        return commodityType == 2;
    }
}
